

define(function(require,exports,module){

	function Main(jqObj,loadParams){

	var columns = [[
		{field:'url',title:'地址',editor:{}},
		{field:'menuId',title:'menuId',hidden:true},
		{field:'menuWidth',title:'窗口宽度',editor:{}},
		{field:'filterRule',title:'过滤规则',editor:{}},
		{field:'menuType',title:'菜单类型',editor:{}},
		{field:'name',title:'名称',editor:{}},
		{field:'remark',title:'remark',editor:{}},
		{field:'menuHeight',title:'窗口高度',editor:{}},
		{field:'parentId',title:'父级菜单',editor:{}},
		{field:'orderNum',title:'顺序号',editor:{}}
	]];
	var formDialog = {
		title:'',
		height:500,
		formEx:{
			url:'sys/firemenu/save.do'
		}
	}

	var MainUI = {
		eName:'datagrid',
		idField:'menuId',
		url:'sys/firemenu/json.do',
		delUrl:'sys/firemenu/del.do',
		columns:columns,
		formDialog:formDialog
	}

	jqObj.createUI(MainUI);

}
	module.exports = Main;

});
